<div class="main_part4">
    <?php if(isset($gl)&&!empty($gl)):?>
    <div class="main_part4_left">
        <div class="youji_title">最新游记攻略</div>
        <div class="youji_content">
            <ul>
                <?php $i=0;foreach($gl as $val):?>
                <?php if($i<2):?>
                <li>
                    <div class="youji_img"><a href="<?php echo site_url('gonglve/'.$val['id'].'.html');?>"><img src="<?php echo get_thumb($val['file_url']);?>" width="190" height="110" /></a></div>
                    <div class="youji_text">
                        <div class="youji_text_title"><a href="<?php echo site_url('gonglve/'.$val['id'].'.html');?>"><?php echo $val['subject'];?></a></div>
                        <div class="youji_text_aut"><span>作者：<?php echo $val['author'];?></span><span>发表于：<?php echo date('Y-m-d H:i:s',$val['crts']);?></span></div>
                        <p><?php echo $val['abstract'];?></p>
                    </div>
                </li>
                <?php endif;?>
                <?php $i++;endforeach;?>
            </ul>
        </div>
    </div>
    <?php endif;?>
    <?php if(isset($comment)&&!empty($comment)):?>
    <div class="main_part4_right">
        <div class="myd_title">客户满意度</div>
        <div class="myd_box">满意度：<span><?php echo $comment_satis;?></span></div>
        <div class="myd_content">
            <ul>
                <?php foreach($comment as $com):?>
                <li>
                    <div class="myd_text">
                        <div class="myd_text_title"><a href="<?php echo site_url('gonglve/'.$com['trips']['id'].'.html');?>"><?php echo $com['trips']['subject'];?></a></div>
                        <div class="myd_text_aut"><span><?php echo $com['author'];?></span><span>&nbsp;&nbsp;发表于：<?php echo $com['crts'];?></span></div>
                        <p><?php echo $com['content'];?></p>
                    </div>
                </li>
                <?php endforeach;?>
            </ul>
        </div>
    </div>
    <?php endif;?>
</div>